import request from '@/utils/request'

// 查询客户信息变更记录列表
export function listCustomerInfoChange(query) {
  return request({
    url: '/customer/customerInfoChange/list',
    method: 'get',
    params: query
  })
}

// 查询客户信息变更记录详细
export function getCustomerInfoChange(id) {
  return request({
    url: '/customer/customerInfoChange/' + id,
    method: 'get'
  })
}

// 新增客户信息变更记录
export function addCustomerInfoChange(data) {
  return request({
    url: '/customer/customerInfoChange',
    method: 'post',
    data: data
  })
}

// 修改客户信息变更记录
export function updateCustomerInfoChange(data) {
  return request({
    url: '/customer/customerInfoChange',
    method: 'put',
    data: data
  })
}

// 删除客户信息变更记录
export function delCustomerInfoChange(id) {
  return request({
    url: '/customer/customerInfoChange/' + id,
    method: 'delete'
  })
}


// 获取客户变更记录信息
export function getCustomerInfoChangeList(data) {
  return request({
    url: '/customer/customerInfoChange/getCustomerChangeList',
    method: 'post',
    data: data
  })
}
